﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.libSTO
{
    [DataContract]
    public class DistrictDataSummarySTO
    {
        private int _districtID;
        private List<RegionDataDTO> _districtDataSummaryList;
        private string _errorMessage;

        public DistrictDataSummarySTO()
        {
            _districtDataSummaryList = new List<RegionDataDTO>();
            _districtID = -1;
            _errorMessage = "";
        }

        [DataMember]
        public int districtID
        {
            get { return _districtID; }
            set { _districtID = value; }
        }

        [DataMember]
        public List<RegionDataDTO> districtDataSummaryList
        {
            get { return _districtDataSummaryList; }
            set { _districtDataSummaryList = value; }
        }

        [DataMember]
        public string errorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }

    }
}
